import { defineConfig } from 'vitepress'

// https://vitepress.dev/reference/site-config
export default defineConfig({
  title: "资产管理系统文档",
  description: "资产管理系统文档",
  base: '/help',
  themeConfig: {
    sidebar: [
      {
        text: '系统介绍',
        link: '/system-intro'
      },
      { text: '登录', link: '/login' },
      { text: '主页', link: '/portal' },
      { text: '待办',
        items: [{
          text: '审批任务',
          link: '/todo/approve',
        }]
      },
      { text: '资产',
        items: [{
          text: '资产清单',
          link: '/asset/items',
        }, {
          text: '资产维保',
          link: '/asset/maintenance',
        }, {
          text: '资产入库',
          link: '/asset/apply/in',
        }, {
          text: '资产派发 & 退库',
          link: '/asset/apply/dispatch',
        }, {
          text: '资产借出 & 归还',
          link: '/asset/apply/borrow',
        }]
      },
    ],
  }
})
